﻿using MediatR;
using MS.Data.API.Read.DTO;
using MS.Data.Domain;
using MS.Data.ErrorCode;

namespace MS.Data.API.Read.Command.Role
{
    public class GetRoleCommand:IRequest<APIResult<ApiPagging<RoleDTO>>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 3;
        public string? RoleName { get; set; }
    }
}
